package com.example.zyl.api.entity.vo;


import com.example.zyl.common.query.annotation.Sensitive;
import com.example.zyl.common.query.enums.SensitiveStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TestSensitiveVo {

    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String idCard;

    @Sensitive(strategy = SensitiveStrategy.ADDRESS)
    private String address;

    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;

    @Sensitive(strategy = SensitiveStrategy.PASSWORD)
    private String password;

    private TestSensitiveVo sensitiveVo;

}
